package program;
import elizaengine.*;

public class Program {

	/**
	 * Implements a basic console Eliza interface using the Eliza API
	 * @param args
	 */
	public static void main(String[] args) {
		ElizaAPI api = new ElizaAPI();
		
		api.setInputStream(System.in);
		api.setOutputStream(System.out);
		
		if(!api.run())
		{
			System.out.println("Unexpected error during Eliza Run");
		}
		
		api.cleanUp();
	}
}
